package com.yyk.springbatch.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author ljp
 * @CLASSNAME OneController
 * @date 2020/12/3 16:43
 * @description：
 */

@RestController
@RequestMapping("batch")
public class BatchController {


    @GetMapping("get")
    public String getOneService() {
        return "GET请求成功--one";
    }

    @PostMapping("post")
    public String postOneService() {
        return "POST请求成功--one";
    }
}
